<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
//print_r($this->session->userdata('user_info'));exit;

if(isset($_SESSION['user_info']))
{
    $user_info = $_SESSION['user_info'];//print_r($user_info);exit;
    $this->smarty->assign('userinfo',$user_info);
    $this->smarty->view('template/frontend/includes/top');
}

//Số lượng item trong cart
$this->smarty->assign('num_item_in_cart', $this->cart->total_items())->view('template/frontend/includes/wrapper_header');

?>
